/**
 * 
 *
 * @auther Adam Brill adam@solutionset.com
 * @date 20070122
 *
 * @see prototype.js v1.6
 */
Solution.namespace('Solution.util');

Solution.util.Base = Class.create({
	/**
	 * Object used to store settings
	 * @var Object
	 */
	s: {},
	
	/**
	 * Object used to store nodes
	 * @var Object
	 */
	n: {},
	
	/**
	 * Object used to store collections
	 * @var Object
	 */
	c: {},
	
	/**
	 * @param object options
	 * @return void
	 */
	initialize: function (options) {
		this.s = Object.clone(this.s, true);
		if (options && options.s)
			Object.extend(this.s, options.s, true);
		this.n = Object.clone(this.n, true);
		if (options && options.n)
			Object.extend(this.n, options.n, true);
		this.c = Object.clone(this.c, true);
		if (options && options.c)
			Object.extend(this.c, options.c, true);
	},
	
	/**
	 * @param void
	 * @return void
	 */
	destroy: function() {
		delete(this);
	}
});
